settings.outformat = "pdf";
unitsize(0.5cm);
draw(
    (0, 2) .. //
    {(1, -3)}(2, 0){(1, 1 / 3)} .. //
    (4, 2));